/* =========================================
           BASE STYLES (Mobile / XS - Default) 
           Target: < 576px 
   ========================================= */

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Changed to min-height for safety on small screens */
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #2d3436;
  overflow-x: hidden; /* Prevent horizontal scroll only */
}

/* Logo - Mobile Default */
.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 120px; /* Smaller for mobile */
  height: auto;
}

.content {
  text-align: center;
  width: 90%; /* 90% width on mobile */
  max-width: 100%;
  padding: 10px;
  margin-top: 60px; /* Space for logo on small screens */
}

/* Image & Shadow Container */
.stop-container {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.stop-img {
  width: 90px; /* Smaller stop sign for mobile */
  height: auto;
  position: relative;
  z-index: 2;
}

.img-shadow {
  width: 60px; /* Scaled down shadow */
  height: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(8px);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Typography - Mobile Default */
h1 {
  font-size: 2rem; /* Readable mobile size */
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
  animation: pulse-color 1s infinite;
}

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #636e72;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.contact-email{
    font-weight: bold;
    color: #5e6669;
}
@keyframes pulse-color {
  0%,
  100% {
    color: #636e72;
  }
  50% {
    color: #ff0000;
  }
}

/* =========================================
           SMALL DEVICES (Landscape Phones)
           Target: >= 576px
   ========================================= */
@media (min-width: 576px) {
  .header-logo {
    max-width: 140px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.3rem;
  }

}

/* =========================================
           TABLETS (MD)
           Target: >= 768px
   ========================================= */
@media (min-width: 768px) {
  .header-logo {
    top: 30px;
    left: 30px;
    max-width: 160px;
  }

  .content {
    margin-top: 0; /* Centering kicks in better here */
    padding: 20px;
  }

  .stop-img {
    width: 110px;
  }

  .img-shadow {
    width: 75px;
    bottom: -10px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* =========================================
           DESKTOP (LG)
           Target: >= 992px
   ========================================= */
@media (min-width: 992px) {
  .header-logo {
    top: 40px;
    left: 40px;
    max-width: 180px;
  }

  .stop-img {
    width: 120px;
  }

  .img-shadow {
    width: 80px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }

}

/* =========================================
           LARGE DESKTOP (XL)
           Target: >= 1200px
   ========================================= */
@media (min-width: 1200px) {
  .content {
    max-width: 900px;
  }

  h1 {
    font-size: 4rem; /* Making use of the extra space */
  }
}

/* =========================================
           EXTRA LARGE (XXL)
           Target: >= 1400px
   ========================================= */
@media (min-width: 1400px) {
  .header-logo {
    max-width: 200px;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}
